package com.patchmanage.back.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
* <p>
    * 
    * </p>
*
* @author huizhao
* @since 2021-04-14
*/
    @ApiModel(value="SafeConfig对象", description="")
    public class SafeConfig implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            @ApiModelProperty(value = "最小字符数")
    private Integer minCharacterNum;

            @ApiModelProperty(value = "最大字符数")
    private Integer maxCharacterNum;

            @ApiModelProperty(value = "必须包含的字符类型(1大写，2小写，数字，特殊字符)逗号隔开")
    private String mustIncludCharacterType;

            @ApiModelProperty(value = "最小存留期")
    private Integer minRetentionNum;

            @ApiModelProperty(value = "最大存留期")
    private Integer maxRetentionNum;

            @ApiModelProperty(value = "密码到期提醒时间")
    private Integer passwordExpirationReminderTime;

            @ApiModelProperty(value = "首次登录是否修改密码（0否1是）")
    private Integer firstLoginUpdatedPwd;

            @ApiModelProperty(value = "错误登录后开启验证（0否1是）")
    private Integer errorLoginTips;

            @ApiModelProperty(value = "最大错误登录次数")
    private Integer maxErrorLoginNum;

            @ApiModelProperty(value = "错误锁定时间（分）")
    private Integer errorLockTime;

            @ApiModelProperty(value = "最长空闲会话时间（分）")
    private Integer maxSessionTime;

            @ApiModelProperty(value = "开启用户多登录（0否是）")
    private Integer enableMultiUserLogin;

        public Integer getId() {
        return id;
        }

            public void setId(Integer id) {
        this.id = id;
        }
        public Integer getMinCharacterNum() {
        return minCharacterNum;
        }

            public void setMinCharacterNum(Integer minCharacterNum) {
        this.minCharacterNum = minCharacterNum;
        }
        public Integer getMaxCharacterNum() {
        return maxCharacterNum;
        }

            public void setMaxCharacterNum(Integer maxCharacterNum) {
        this.maxCharacterNum = maxCharacterNum;
        }
        public String getMustIncludCharacterType() {
        return mustIncludCharacterType;
        }

            public void setMustIncludCharacterType(String mustIncludCharacterType) {
        this.mustIncludCharacterType = mustIncludCharacterType;
        }
        public Integer getMinRetentionNum() {
        return minRetentionNum;
        }

            public void setMinRetentionNum(Integer minRetentionNum) {
        this.minRetentionNum = minRetentionNum;
        }
        public Integer getMaxRetentionNum() {
        return maxRetentionNum;
        }

            public void setMaxRetentionNum(Integer maxRetentionNum) {
        this.maxRetentionNum = maxRetentionNum;
        }
        public Integer getPasswordExpirationReminderTime() {
        return passwordExpirationReminderTime;
        }

            public void setPasswordExpirationReminderTime(Integer passwordExpirationReminderTime) {
        this.passwordExpirationReminderTime = passwordExpirationReminderTime;
        }
        public Integer getFirstLoginUpdatedPwd() {
        return firstLoginUpdatedPwd;
        }

            public void setFirstLoginUpdatedPwd(Integer firstLoginUpdatedPwd) {
        this.firstLoginUpdatedPwd = firstLoginUpdatedPwd;
        }
        public Integer getErrorLoginTips() {
        return errorLoginTips;
        }

            public void setErrorLoginTips(Integer errorLoginTips) {
        this.errorLoginTips = errorLoginTips;
        }
        public Integer getMaxErrorLoginNum() {
        return maxErrorLoginNum;
        }

            public void setMaxErrorLoginNum(Integer maxErrorLoginNum) {
        this.maxErrorLoginNum = maxErrorLoginNum;
        }
        public Integer getErrorLockTime() {
        return errorLockTime;
        }

            public void setErrorLockTime(Integer errorLockTime) {
        this.errorLockTime = errorLockTime;
        }
        public Integer getMaxSessionTime() {
        return maxSessionTime;
        }

            public void setMaxSessionTime(Integer maxSessionTime) {
        this.maxSessionTime = maxSessionTime;
        }
        public Integer getEnableMultiUserLogin() {
        return enableMultiUserLogin;
        }

            public void setEnableMultiUserLogin(Integer enableMultiUserLogin) {
        this.enableMultiUserLogin = enableMultiUserLogin;
        }

    @Override
    public String toString() {
    return "SafeConfig{" +
            "id=" + id +
            ", minCharacterNum=" + minCharacterNum +
            ", maxCharacterNum=" + maxCharacterNum +
            ", mustIncludCharacterType=" + mustIncludCharacterType +
            ", minRetentionNum=" + minRetentionNum +
            ", maxRetentionNum=" + maxRetentionNum +
            ", passwordExpirationReminderTime=" + passwordExpirationReminderTime +
            ", firstLoginUpdatedPwd=" + firstLoginUpdatedPwd +
            ", errorLoginTips=" + errorLoginTips +
            ", maxErrorLoginNum=" + maxErrorLoginNum +
            ", errorLockTime=" + errorLockTime +
            ", maxSessionTime=" + maxSessionTime +
            ", enableMultiUserLogin=" + enableMultiUserLogin +
    "}";
    }
}
